package com.example.thegreatwall.service.impl;

import com.example.thegreatwall.service.ArticleCollectionService;
import org.springframework.stereotype.Service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.thegreatwall.entity.ArticleCollection;
import com.example.thegreatwall.mapper.ArticleCollectionMapper;

@Service
public class ArticleCollectionServiceImpl extends ServiceImpl<ArticleCollectionMapper, ArticleCollection> implements ArticleCollectionService {

    @Override
    public List<Integer> aliststatus(int userid) {
        return this.baseMapper.aliststatus(userid);
    }

    @Override
    public int isCollect(int userid, int articleid) {
        return this.baseMapper.isCollect(userid, articleid);
    }
}
